package com.yingchao.kgou.cms.front.rest.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.yingchao.kgou.cms.front.rest.service.${entity_name}RestService;
import com.yingchao.kgou.core.service.impl.BaseRestServiceImpl;
import com.yingchao.kgou.dao.${entity_name}DAO;
import com.yingchao.kgou.entity.${entity_name};

@Service("${entity_name}RestService")
@Transactional
public class ${entity_name}RestServiceImpl extends
		BaseRestServiceImpl<${entity_name}, Long, ${entity_name}DAO> implements ${entity_name}RestService {

	@Resource(name="${entity_name}DAO")
	@Override
	public void setEntityDao(${entity_name}DAO entityDao) {
		this.entityDao = entityDao;
	}
}
